(function () {
    var $self;
    return $self = Ext.define('Aurora.view.Main', {
        extend: 'Ext.navigation.View',
        xtype: 'accountsMain',
        requires: ['Aurora.view.AccountsView'],
        config: {
            fullscreen: true,
            navigationBar: {
                items: [{
                    id: 'refresh',
                    text: 'Refresh',
                    align: 'right'
                }]
            },
            items: [{
                xtype: 'tabpanel',
                tabBarPosition: 'bottom',

                items: [{
                    xtype: 'accountsView',
                    title: 'Accounts',
                    iconCls: 'star',
                    layout: 'fit'
                }]
            }]
        }
    });
})();
